package io.github.wanggit.antcms.server.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.github.wanggit.antcms.server.domain.AntArticle;
import io.github.wanggit.antcms.server.domain.AntTag;

import java.util.List;

public interface TagService extends IService<AntTag> {

    Page<AntTag> listTags(Integer page, Integer size, String name, String aliasName);

    void saveOrUpdateTag(AntTag tag);

    List<AntTag> findTagByArticle(AntArticle article);
}
